<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
    String path = request.getContextPath();
    String basePath =
            request.getScheme() + "://" + request.getServerName() + ":"
                    + request.getServerPort() + path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <base href="<%=basePath%>"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="author" content="">
    <link rel="shortcut icon" href="">
    <title>登陆</title>
    <script type="application/x-javascript"> addEventListener("load", function () {
        setTimeout(hideURLbar, 0);
    }, false);
    function hideURLbar() {
        window.scrollTo(0, 1);
    } </script>
    <!-- Bootstrap Core CSS -->
    <link href="resource/css/bootstrap.min.css" rel='stylesheet'
          type='text/css'/>
    <!-- Custom CSS -->
    <link href="resource/css/style.css" rel='stylesheet' type='text/css'/>
    <link href="resource/css/font-awesome.css" rel="stylesheet">
    <!-- jQuery -->
    <script src="resource/js/jquery.min.js"></script>
    <!-- Bootstrap Core JavaScript -->
    <script src="resource/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="resource/js/login.js"></script>
</head>
<body id="login">
<div class="login-logo">
    <a href="#"><img src="resource/images/logo.png" alt=""/></a>
</div>
<h2 class="form-heading">login</h2>

<div class="app-cam">
    <form onsubmit="return false;">
        <input type="hidden" id="service" value="<%=basePath%>"/>
        <input type="text" id="userName" class="text" value="" onfocus=""
               onblur="">
        <input type="password" id="password" value="" onfocus="" onblur="">

        <div class="submit"><input type="submit" onclick="myFunction()"
                                   value="Login"></div>
        <ul class="new">
            <li class="new_left"><p><a href="#">Forgot Password ?</a></p></li>
            <li class="new_right"><p class="sign">New here ?<a href="#"> Sign
                Up</a></p></li>
            <div class="clearfix"></div>
        </ul>
    </form>
</div>
<div class="copy_layout login">
    <p>Copyright &copy; 2016.Company name All rights reserved.</p>
</div>
</body>
</html>
